<?php
include_once "../../../../common.php";
?>
<h2>Webshops</h2>
<?php

$query = "	SELECT 
				WC.* 
			FROM WebshopWebsites AS WC 
			WHERE WC.WebshopID = '".str_replace("'","",$_GET['id'])."'";
$result = $_MySQL->runQuery($query);
?>
<table width="100%;">
<?php
while($row = mysql_fetch_assoc($result))
{	
	?>
	<tr>
		<td width="40%">
			Webshop
		</td>
		<td width="10px">:</td>
		<td>
			<a href="<?=(substr(strtolower($row['Website']), 0, 7)!='http://'?'http://':'').$row['Website'];?>" target="_blank"><?=$row['Website'];?></a>
		</td>
	</tr>
	<?php
}
?>
</table>
